﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace XWG.JWBST.JWBSTManagementApp.ZPXXCJ
{
    public partial class DataExport : JWBSTAPP.CommonClass.PageBases
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BindFraudtype();
            }
        }

        /// <summary>
        /// 绑定类型
        /// </summary>
        private void BindFraudtype()
        {
            var list = XWG.JWBST.JWBSTBLL.TbBstBsznBLL.GetDictionaryByCode("FRAUDTYPE");
            selStatus.DataSource = list;
            selStatus.DataTextField = "Description";
            selStatus.DataValueField = "Code";
            selStatus.DataBind();
            selStatus.Items.Insert(0, new ListItem("请选择", ""));
            selStatus.Value = "";
        }
    }
}